package cn.chainco.cts.utils;

import java.io.InputStream;
import java.util.Properties;

public class VarData{
	public static String fromEmail;
	public static String fromEailName;
	public static String emailPassword;
	public static String subject;
	public static String subject1;
	public static String adminName;
	public static String adminEmail;

	static{
		Properties prop = new Properties();
		InputStream in = VarData.class.getResourceAsStream("/cts.properties");
		try{
			prop.load(in);
			fromEmail = prop.getProperty("fromEmail");
			fromEailName = prop.getProperty("fromEailName");
			emailPassword = prop.getProperty("emailPassword");
			subject = prop.getProperty("subject");
			adminName = prop.getProperty("adminName");
			adminEmail = prop.getProperty("adminEmail");
			subject1 = prop.getProperty("subject1");
		}catch(Exception e){
			e.printStackTrace();
		}
	}
}
